package com.example.springbatch.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ETLLogSummary implements Serializable {
    private long summaryId;
    private String moduleName;
    private String etlType;
    private int status;  // 0:ERROR, 1:RUNNING, 2:SUCCEED
    private String businessModel;
    private Date logSummaryStart;
    private Date logSummaryEnd;
    private Date startDate;
    private Date endDate;
    private String startNumeric;
    private String endNumeric ;
    private String batchId;
    private List<ETLLogDetail> logDetails;

}
